// To parse this JSON data, do
//
//     final activeData = activeDataFromJson(jsonString);

import 'dart:convert';

ActiveData activeDataFromJson(String str) =>
    ActiveData.fromJson(json.decode(str));

String activeDataToJson(ActiveData data) => json.encode(data.toJson());

class ActiveData {
  ActiveData({
    this.id,
    this.activitiesTopic,
    this.activitiesContent,
    this.activitiesType,
    this.activitiesMode,
    this.activitiesIndustry,
    this.organizers,
    this.contractors,
    this.coOrganizers,
    this.startTime,
    this.endTime,
    this.provinceId,
    this.cityId,
    this.districtId,
    this.address,
    this.imgAddrs,
    this.status,
    this.createTime,
    this.updateTime,
    this.delFlag,
    this.contact,
    this.phoneNumber,
    this.regEndTime,
    this.isReg,
    this.regFee,
    this.regNumber,
    this.isFee,
    this.words,
    this.closeReason,
    this.approvalOpinion,
    this.approvalUser,
    this.approvalTime,
    this.createId,
    this.updateBy,
    this.browseNum,
    this.checkSolution,
    this.publishUserId,
    this.talkUserId,
    this.shareUserIds,
    this.approvalFlag,
    this.childUserId,
    this.talkChildUserId,
    this.keyword,
    this.sort,
    this.counts,
    this.activitiesTypeName,
    this.provinceName,
    this.cityName,
    this.districtName,
    this.createName,
    this.createUserLogo,
    this.collectionNum,
    this.activitiesIndustryName,
    this.payMallInfoId,
    this.stock,
    this.payOrderId,
    this.orderCode,
    this.mallNum,
    this.stateLabel,
    this.approvalStateLabel,
    this.totalPrice,
    this.actualPrice,
    this.userPhoneNumber,
    this.topState,
    this.topStartTime,
    this.topEndTime,
    this.topCreateTime,
    this.searchCity,
    this.searchProv,
    this.subCode,
    this.filterPrems,
    this.publishUserName,
    this.publishUserLogo,
    this.publishUserPhone,
    this.talkUserName,
    this.talkUserLogo,
    this.talkUserPhone,
    this.talkUserIsAgent,
    this.shareUserNames,
    this.childUserName,
    this.childUserLogo,
    this.childUserPhone,
    this.childUserJob,
    this.talkChildUserName,
    this.talkChildUserLogo,
    this.talkChildUserPhone,
    this.talkChildUserJob,
    this.levelNum,
    this.approvalState,
  });

  int id;
  String activitiesTopic;
  String activitiesContent;
  int activitiesType;
  int activitiesMode;
  dynamic activitiesIndustry;
  String organizers;
  dynamic contractors;
  dynamic coOrganizers;
  String startTime;
  dynamic endTime;
  int provinceId;
  int cityId;
  int districtId;
  String address;
  String imgAddrs;
  String status;
  DateTime createTime;
  DateTime updateTime;
  int delFlag;
  String contact;
  String phoneNumber;
  String regEndTime;
  int isReg;
  dynamic regFee;
  int regNumber;
  int isFee;
  List<String> words;
  dynamic closeReason;
  String approvalOpinion;
  dynamic approvalUser;
  dynamic approvalTime;
  int createId;
  dynamic updateBy;
  int browseNum;
  dynamic checkSolution;
  int publishUserId;
  int talkUserId;
  String shareUserIds;
  int approvalFlag;
  dynamic childUserId;
  dynamic talkChildUserId;
  dynamic keyword;
  dynamic sort;
  dynamic counts;
  String activitiesTypeName;
  String provinceName;
  String cityName;
  String districtName;
  String createName;
  String createUserLogo;
  dynamic collectionNum;
  dynamic activitiesIndustryName;
  dynamic payMallInfoId;
  dynamic stock;
  dynamic payOrderId;
  dynamic orderCode;
  int mallNum;
  String stateLabel;
  dynamic approvalStateLabel;
  dynamic totalPrice;
  dynamic actualPrice;
  String userPhoneNumber;
  dynamic topState;
  dynamic topStartTime;
  dynamic topEndTime;
  dynamic topCreateTime;
  dynamic searchCity;
  dynamic searchProv;
  dynamic subCode;
  dynamic filterPrems;
  String publishUserName;
  String publishUserLogo;
  String publishUserPhone;
  dynamic talkUserName;
  dynamic talkUserLogo;
  dynamic talkUserPhone;
  bool talkUserIsAgent;
  dynamic shareUserNames;
  dynamic childUserName;
  dynamic childUserLogo;
  dynamic childUserPhone;
  dynamic childUserJob;
  dynamic talkChildUserName;
  dynamic talkChildUserLogo;
  dynamic talkChildUserPhone;
  dynamic talkChildUserJob;
  int levelNum;
  int approvalState;

  factory ActiveData.fromJson(Map<String, dynamic> json) => ActiveData(
        id: json["id"],
        activitiesTopic: json["activitiesTopic"],
        activitiesContent: json["activitiesContent"],
        activitiesType: json["activitiesType"],
        activitiesMode: json["activitiesMode"],
        activitiesIndustry: json["activitiesIndustry"],
        organizers: json["organizers"],
        contractors: json["contractors"],
        coOrganizers: json["coOrganizers"],
        startTime: json["startTime"],
        endTime: json["endTime"],
        provinceId: json["provinceId"],
        cityId: json["cityId"],
        districtId: json["districtId"],
        address: json["address"],
        imgAddrs: json["imgAddrs"],
        status: json["status"],
        createTime: DateTime.parse(json["createTime"]),
        updateTime: DateTime.parse(json["updateTime"]),
        delFlag: json["delFlag"],
        contact: json["contact"],
        phoneNumber: json["phoneNumber"],
        regEndTime: json["regEndTime"],
        isReg: json["isReg"],
        regFee: json["regFee"],
        regNumber: json["regNumber"],
        isFee: json["isFee"],
        words: List<String>.from(json["words"].map((x) => x)),
        closeReason: json["close_reason"],
        approvalOpinion: json["approvalOpinion"],
        approvalUser: json["approvalUser"],
        approvalTime: json["approvalTime"],
        createId: json["createId"],
        updateBy: json["updateBy"],
        browseNum: json["browseNum"],
        checkSolution: json["checkSolution"],
        publishUserId: json["publishUserId"],
        talkUserId: json["talkUserId"],
        shareUserIds: json["shareUserIds"],
        approvalFlag: json["approvalFlag"],
        childUserId: json["childUserId"],
        talkChildUserId: json["talkChildUserId"],
        keyword: json["keyword"],
        sort: json["sort"],
        counts: json["counts"],
        activitiesTypeName: json["activitiesTypeName"],
        provinceName: json["provinceName"],
        cityName: json["cityName"],
        districtName: json["districtName"],
        createName: json["createName"],
        createUserLogo: json["createUserLogo"],
        collectionNum: json["collectionNum"],
        activitiesIndustryName: json["activitiesIndustryName"],
        payMallInfoId: json["payMallInfoId"],
        stock: json["stock"],
        payOrderId: json["payOrderId"],
        orderCode: json["orderCode"],
        mallNum: json["mallNum"],
        stateLabel: json["stateLabel"],
        approvalStateLabel: json["approvalStateLabel"],
        totalPrice: json["totalPrice"],
        actualPrice: json["actualPrice"],
        userPhoneNumber: json["userPhoneNumber"],
        topState: json["topState"],
        topStartTime: json["topStartTime"],
        topEndTime: json["topEndTime"],
        topCreateTime: json["topCreateTime"],
        searchCity: json["searchCity"],
        searchProv: json["searchProv"],
        subCode: json["subCode"],
        filterPrems: json["filterPrems"],
        publishUserName: json["publishUserName"],
        publishUserLogo: json["publishUserLogo"],
        publishUserPhone: json["publishUserPhone"],
        talkUserName: json["talkUserName"],
        talkUserLogo: json["talkUserLogo"],
        talkUserPhone: json["talkUserPhone"],
        talkUserIsAgent: json["talkUserIsAgent"],
        shareUserNames: json["shareUserNames"],
        childUserName: json["childUserName"],
        childUserLogo: json["childUserLogo"],
        childUserPhone: json["childUserPhone"],
        childUserJob: json["childUserJob"],
        talkChildUserName: json["talkChildUserName"],
        talkChildUserLogo: json["talkChildUserLogo"],
        talkChildUserPhone: json["talkChildUserPhone"],
        talkChildUserJob: json["talkChildUserJob"],
        levelNum: json["levelNum"],
        approvalState: json["approvalState"],
      );

  Map<String, dynamic> toJson() => {
        "id": id,
        "activitiesTopic": activitiesTopic,
        "activitiesContent": activitiesContent,
        "activitiesType": activitiesType,
        "activitiesMode": activitiesMode,
        "activitiesIndustry": activitiesIndustry,
        "organizers": organizers,
        "contractors": contractors,
        "coOrganizers": coOrganizers,
        "startTime": startTime,
        "endTime": endTime,
        "provinceId": provinceId,
        "cityId": cityId,
        "districtId": districtId,
        "address": address,
        "imgAddrs": imgAddrs,
        "status": status,
        "createTime": createTime.toIso8601String(),
        "updateTime": updateTime.toIso8601String(),
        "delFlag": delFlag,
        "contact": contact,
        "phoneNumber": phoneNumber,
        "regEndTime": regEndTime,
        "isReg": isReg,
        "regFee": regFee,
        "regNumber": regNumber,
        "isFee": isFee,
        "words": List<dynamic>.from(words.map((x) => x)),
        "close_reason": closeReason,
        "approvalOpinion": approvalOpinion,
        "approvalUser": approvalUser,
        "approvalTime": approvalTime,
        "createId": createId,
        "updateBy": updateBy,
        "browseNum": browseNum,
        "checkSolution": checkSolution,
        "publishUserId": publishUserId,
        "talkUserId": talkUserId,
        "shareUserIds": shareUserIds,
        "approvalFlag": approvalFlag,
        "childUserId": childUserId,
        "talkChildUserId": talkChildUserId,
        "keyword": keyword,
        "sort": sort,
        "counts": counts,
        "activitiesTypeName": activitiesTypeName,
        "provinceName": provinceName,
        "cityName": cityName,
        "districtName": districtName,
        "createName": createName,
        "createUserLogo": createUserLogo,
        "collectionNum": collectionNum,
        "activitiesIndustryName": activitiesIndustryName,
        "payMallInfoId": payMallInfoId,
        "stock": stock,
        "payOrderId": payOrderId,
        "orderCode": orderCode,
        "mallNum": mallNum,
        "stateLabel": stateLabel,
        "approvalStateLabel": approvalStateLabel,
        "totalPrice": totalPrice,
        "actualPrice": actualPrice,
        "userPhoneNumber": userPhoneNumber,
        "topState": topState,
        "topStartTime": topStartTime,
        "topEndTime": topEndTime,
        "topCreateTime": topCreateTime,
        "searchCity": searchCity,
        "searchProv": searchProv,
        "subCode": subCode,
        "filterPrems": filterPrems,
        "publishUserName": publishUserName,
        "publishUserLogo": publishUserLogo,
        "publishUserPhone": publishUserPhone,
        "talkUserName": talkUserName,
        "talkUserLogo": talkUserLogo,
        "talkUserPhone": talkUserPhone,
        "talkUserIsAgent": talkUserIsAgent,
        "shareUserNames": shareUserNames,
        "childUserName": childUserName,
        "childUserLogo": childUserLogo,
        "childUserPhone": childUserPhone,
        "childUserJob": childUserJob,
        "talkChildUserName": talkChildUserName,
        "talkChildUserLogo": talkChildUserLogo,
        "talkChildUserPhone": talkChildUserPhone,
        "talkChildUserJob": talkChildUserJob,
        "levelNum": levelNum,
        "approvalState": approvalState,
      };
}
